package com.example.gausspaper.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity(name = "db_reply")
public class Reply {
    @Id
    @Column(length = 30)
    private String replyId;
    @Column(length = 10)
    private String time;
    private String content;
    private String targetType;
    @Column(length = 20)
    private String commentId;
    @Column(length = 30)
    private String toReplyId;
    @Column(length = 10)
    private String fromUserId;
    @Column(length = 10)
    private String toUserId;
}
